home *** CD-ROM | disk | FTP | other *** search
/ com!online 2002 January / com! 2002.01.iso / autohtml / selfhtml / html / multimedia / anzeige / nibbles.swf / scripts / frame_49 / DoAction.as
Encoding:
Text File  |  2001-10-27  |  697 b   |  18 lines

  1. n = "0";
  2. while(n < "23")
  3. {
  4.    n += "1";
  5.    duplicateMovieClip("bgbox","bgbox" add n,n + "200" + 16384);
  6.    setProperty("bgbox" add n, _X, (n + "1") * boxw + temp2);
  7.    setProperty("bgbox" add n, _Y, "16" * boxh);
  8.    set("x" add (n + "1") add "y16",temp1);
  9.    duplicateMovieClip("bgbox","bgbox" add (n + "30"),n + "200" + "30" + 16384);
  10.    setProperty("bgbox" add (n + "30"), _X, (n + "26") * boxw + temp2);
  11.    setProperty("bgbox" add (n + "30"), _Y, "14" * boxh);
  12.    set("x" add (n + "26") add "y14",temp1);
  13. }
  14. duplicateMovieClip("bgbox","bgbox59",n + "200" + "59" + 16384);
  15. setProperty("bgbox59", _X, "26" * boxw + temp2);
  16. setProperty("bgbox59", _Y, "14" * boxh);
  17. x26y14 = temp1;
  18.